package android.system.monitor;

/**
 * class name��SmsInfo<BR>
 * class description����ȡ���Ÿ�����Ϣ����<BR>
 * PS�� <BR>
 * Date:2012-3-19<BR>
 * 
 * @version 1.00
 * @author CODYY)peijiangping
 */ 
public class SmsInfo { 
	/**
	 * ��ݿ���sms��ص��ֶ����£�    
		_id               һ�������ֶΣ���1��ʼ 
		thread_id    ��ţ�ͬһ�����˵�id��ͬ 
		address      �������ֻ���� 
		person        ��ϵ���б������ţ�İ����Ϊnull 
		date            �������� 
		protocol      Э�飬��Ϊ�� 0 SMS_RPOTO, 1 MMS_PROTO  
		read           �Ƿ��Ķ� 0δ���� 1�Ѷ�  
		status         ״̬ -1���գ�0 complete, 64 pending, 128 failed 
		type 
		    ALL    = 0; 
		    INBOX  = 1; 
		    SENT   = 2; 
		    DRAFT  = 3; 
		    OUTBOX = 4; 
		    FAILED = 5; 
		    QUEUED = 6; 
		body                     �������� 
		service_center     ���ŷ������ĺ����� 
		subject                  ���ŵ����� 
		reply_path_present     TP-Reply-Path 
		locked
	 */
	private long id;
	private long thread_id;
    /**
     * ��������
     */ 
    private String smsbody; 
    /**
     * ���Ͷ��ŵĵ绰����
     */ 
    private String phoneNumber; 
    /**
     * ���Ͷ��ŵ����ں�ʱ��
     */ 
    private String date; 
    /**
     * ���Ͷ����˵�����
     */ 
    private String name; 
    /**
     * �����Ķ�״̬��0δ����1�Ѷ�
     */
    private String isRead;
    /**
     * ��������: 1�ǽ��յ��ģ�2���ѷ�����3�ǲݸ��䣬4�Ƿ����䣨���ڷ��ͣ���5�Ƿ���ʧ�ܣ�6�Ǵ����б�
     */ 
    private String type; 
    private String subject;
    
    public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}
	
	public long getThread_id() {
		return thread_id;
	}

	public void setThread_id(long thread_id) {
		this.thread_id = thread_id;
	}

	public String getSmsbody() { 
        return smsbody; 
    } 
 
    public void setSmsbody(String smsbody) { 
        this.smsbody = smsbody; 
    } 
 
    public String getPhoneNumber() { 
        return phoneNumber; 
    } 
 
    public void setPhoneNumber(String phoneNumber) { 
        this.phoneNumber = phoneNumber; 
    } 
 
    public String getDate() { 
        return date; 
    } 
 
    public void setDate(String date) { 
        this.date = date; 
    } 
 
    public String getName() { 
        return name; 
    } 
 
    public void setName(String name) { 
        this.name = name; 
    } 
    
    public String getRead(){
    	return isRead;
    }
    
    public void setRead(String isRead){
    	this.isRead = isRead;
    }
 
    public String getType() { 
        return type; 
    } 
 
    public void setType(String type) { 
        this.type = type; 
    }

	public String getSubject() {
		return subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	} 
    
} 

